from django.db import models


# Create your models here.

class User(models.Model):
    account = models.CharField(max_length=40, default=0, verbose_name='学 号')
    name = models.CharField(max_length=30, unique=True, verbose_name='姓 名')
    birthday = models.DateField(blank=True, null=True, verbose_name='生 日')
    gender = models.CharField(max_length=30, verbose_name='性 别')
    age = models.IntegerField(default=18, verbose_name='年 龄')
    rank = models.IntegerField(default=18, verbose_name='排 名')
